<!DOCTYPE html >
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>靖青个人博客-心情点滴</title>
    <meta name="keywords" content="个人博客,靖青个人博客,靖青"/>
    <meta name="description" content="互联网从业者，java开发的cms系统"/>
    <link href="<%=request.getContextPath() %>/resources/css/base.css" rel="stylesheet">
    <link href="<%=request.getContextPath() %>/resources/css/mood.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="<%=request.getContextPath() %>/resources/js/modernizr.js"></script>
    <![endif]-->
</head>
<body>
<header>
<div id="logo"><a href="/"></a></div>
    <nav class="topnav" id="topnav">
        <c:forEach items="${navChannels}" var="nav">
            <a href="${nav.customLinkUrl}"><span>${nav.name}</span><span class="en">${nav.pinyinStr}</span></a>
        </c:forEach>
    </nav>
</header>
<div class="moodlist">
    <h1 class="t_nav"><span>水纹珍簟思悠悠，千里佳期一夕休。从此无心爱良夜，任他明月下西楼。 </span><a href="/" class="n1">网站首页</a><a href="/tpl/web/newlist"
                                                                                               class="n2">心情点滴</a></h1>

    <div class="bloglist">
        <c:forEach items="${datas.datas }" var="mood">

            <ul class="arrow_box">
                <div class="sy">
                    <c:if test="${ mood.attachFileName != null  }">
                        <img src="<%=request.getContextPath()%>/resources/upload/thumbnail/${mood.attachFileName}">
                    </c:if>
                    <p>${mood.title} </p>
                </div>
                <span class="dateview"><fmt:formatDate value="${mood.publishDate }" pattern="yyyy-MM-dd HH:mm:ss"/></span>
            </ul>
        </c:forEach>

    </div>

    <div class="page position-relative">
        <jsp:include page="/resources/pages/index_pager.jsp">
            <jsp:param value="${datas.total }" name="totalRecord"/>
            <jsp:param value="/blog/tpl/web/moodlist" name="url"/>
        </jsp:include>
    </div>
</div>
<jsp:include page="footer.jsp"/>
<script src="<%=request.getContextPath() %>/resources/js/silder.js"></script>
</body>
</html>